Algorithm to map an area [on hold]
Posted
by
user37843
on Game Development
See other posts from Game Development
or by user37843
Published on 2014-06-11T09:19:07Z
Indexed on
2014/06/11
15:44 UTC
Read the original article
Hit count: 293
algorithm
|path-finding
I want to create a crawler that starts in a room and from that room to move North,East,West and South until there aren't any new rooms to visit. I don't want to have duplicates and the output format per line to be something like this: current room, neighbour 1, neighbour 2 ... and in the end to apply BFS algorithm to find the shortest path between 2 rooms. Can anyone offer me some suggestion what to use? Thanks
© Game Development or respective owner